import { defineConfig } from '@umijs/max';
import routes from '../src/routes/index';

export default defineConfig({
  outputPath: '../dist/admin',
  base: '/',
  publicPath: '/admin/',
  history: { type: 'hash' },
  locale: false,
  antd: {},
  access: {},
  model: {},
  initialState: {},
  request: {},
  routes,
  npmClient: 'npm',
  dva: {},
  qiankun:{
    master:{
      enable:true,
      prefetch: false, // 开启预加载
      sandbox: {
        experimentalStyleIsolation: true, //   开启沙箱严格模式,实验性方案
      },
    }
  }
});